package java0430;

public class AirCondition extends ElectricalAppliance{ //最低
    private int min;

    //最高
    private int max;

    //制冷
    public void coldDown(){
        System.out.println("空调制冷最低温度" + min);
    }

    //制热
    public void warmUp(){
        System.out.println("空调制热最高温度" + max);
    }

    public AirCondition(int price, int weight, String color, int min, int max) {
        super(price, weight, color);
        this.min = min;
        this.max = max;
    }

    public AirCondition() {
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }
}

